import ON_DEATH = require('death');
import TaskServer from './serverimpl/taskserver';



let server = new TaskServer(); 
//console.log(process.argv);
ON_DEATH(function(signal:any, err:any) {
    process.exit(1);
});
/**
 * 启动方式 node server.js
 */

server.startListen();
